package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 板栗树认领主对象 qx_chestnut_adopt_model
 * 
 * @author ruoyi
 * @date 2023-07-28
 */
public class QxChestnutAdoptModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键标识 */
    private Long treeId;

    /** 编号 */
    @Excel(name = "编号")
    private String treeCode;

    /** 小地名 */
    @Excel(name = "小地名")
    private String smallPlaceName;

    /** 树龄 */
    @Excel(name = "树龄")
    private Long treeAge;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 海拔 */
    @Excel(name = "海拔")
    private BigDecimal altitude;

    /** 预计重量 */
    @Excel(name = "预计重量")
    private BigDecimal estimatedWeight;

    /** 认养人 */
    @Excel(name = "认养人")
    private String adoptivePerson;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String personPhone;

    /** 农户 */
    @Excel(name = "农户")
    private String peasantHousehold;

    /** 春天图片 */
//    @Excel(name = "春天图片")
    private String springImages;


    private List<String> springImagesList = new ArrayList<>();;

    /** 夏天图片 */
//    @Excel(name = "夏天图片")
    private String summerImages;



    private List<String> summerImagesList = new ArrayList<>();

    /** 秋季图片 */
//    @Excel(name = "秋季图片")
    private String autumnImages;

    private List<String> autumnImagesList = new ArrayList<>();;

    /** 冬季图片 */
//    @Excel(name = "冬季图片")
    private String winterImages;
    private List<String> winterImagesList  = new ArrayList<>();;

    /** 开花期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开花期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date flowerDate;

    /** 收货期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收获期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliveryDate;

    /** 实际产量 */
    @Excel(name = "实际产量")
    private BigDecimal output;

    /**
     * 认养状态
     */
    @Excel(name = "认养状态")
    private  Integer status;

    /** 冷藏日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "冷藏日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refrigerationDate;

    /** 其他记录 */
    @Excel(name = "其他记录")
    private String otherRecords;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /**
     * 领养申请时间
     */
    private Date applyDate;

    /**
     * 领养开始时间（管理员审核通过的时间）
     */
    private Date startDate;

    /**
     * 审核意见
     */
    private String approveReson;


    private  String thumbnail;

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail;
    }

    public List<String> getSpringImagesList() {
        return springImagesList;
    }

    public void setSpringImagesList(List<String> springImagesList) {
        this.springImagesList = springImagesList;
    }

    public List<String> getSummerImagesList() {
        return summerImagesList;
    }

    public void setSummerImagesList(List<String> summerImagesList) {
        this.summerImagesList = summerImagesList;
    }

    public List<String> getAutumnImagesList() {
        return autumnImagesList;
    }

    public void setAutumnImagesList(List<String> autumnImagesList) {
        this.autumnImagesList = autumnImagesList;
    }

    public List<String> getWinterImagesList() {
        return winterImagesList;
    }

    public void setWinterImagesList(List<String> winterImagesList) {
        this.winterImagesList = winterImagesList;
    }
    public String getApproveReson() {
		return approveReson;
	}

	public void setApproveReson(String approveReson) {
		this.approveReson = approveReson;
	}

	public Date getApplyDate() {
		return applyDate;
	}

	public void setApplyDate(Date applyDate) {
		this.applyDate = applyDate;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setTreeId(Long treeId)
    {
        this.treeId = treeId;
    }

    public Long getTreeId() 
    {
        return treeId;
    }
    public void setTreeCode(String treeCode) 
    {
        this.treeCode = treeCode;
    }

    public String getTreeCode() 
    {
        return treeCode;
    }
    public void setSmallPlaceName(String smallPlaceName) 
    {
        this.smallPlaceName = smallPlaceName;
    }

    public String getSmallPlaceName() 
    {
        return smallPlaceName;
    }
    public void setTreeAge(Long treeAge) 
    {
        this.treeAge = treeAge;
    }

    public Long getTreeAge() 
    {
        return treeAge;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setAltitude(BigDecimal altitude) 
    {
        this.altitude = altitude;
    }

    public BigDecimal getAltitude() 
    {
        return altitude;
    }
    public void setEstimatedWeight(BigDecimal estimatedWeight) 
    {
        this.estimatedWeight = estimatedWeight;
    }

    public BigDecimal getEstimatedWeight() 
    {
        return estimatedWeight;
    }
    public void setAdoptivePerson(String adoptivePerson) 
    {
        this.adoptivePerson = adoptivePerson;
    }

    public String getAdoptivePerson() 
    {
        return adoptivePerson;
    }
    public void setPersonPhone(String personPhone) 
    {
        this.personPhone = personPhone;
    }

    public String getPersonPhone() 
    {
        return personPhone;
    }
    public void setPeasantHousehold(String peasantHousehold) 
    {
        this.peasantHousehold = peasantHousehold;
    }

    public String getPeasantHousehold() 
    {
        return peasantHousehold;
    }
    public void setSpringImages(String springImages) 
    {
        this.springImages = springImages;
    }

    public String getSpringImages() 
    {
        return springImages;
    }
    public void setSummerImages(String summerImages) 
    {
        this.summerImages = summerImages;
    }

    public String getSummerImages() 
    {
        return summerImages;
    }
    public void setAutumnImages(String autumnImages) 
    {
        this.autumnImages = autumnImages;
    }

    public String getAutumnImages() 
    {
        return autumnImages;
    }
    public void setWinterImages(String winterImages) 
    {
        this.winterImages = winterImages;
    }

    public String getWinterImages() 
    {
        return winterImages;
    }
    public void setFlowerDate(Date flowerDate) 
    {
        this.flowerDate = flowerDate;
    }

    public Date getFlowerDate() 
    {
        return flowerDate;
    }
    public void setDeliveryDate(Date deliveryDate) 
    {
        this.deliveryDate = deliveryDate;
    }

    public Date getDeliveryDate() 
    {
        return deliveryDate;
    }
    public void setOutput(BigDecimal output) 
    {
        this.output = output;
    }

    public BigDecimal getOutput() 
    {
        return output;
    }
    public void setRefrigerationDate(Date refrigerationDate) 
    {
        this.refrigerationDate = refrigerationDate;
    }

    public Date getRefrigerationDate() 
    {
        return refrigerationDate;
    }
    public void setOtherRecords(String otherRecords) 
    {
        this.otherRecords = otherRecords;
    }

    public String getOtherRecords() 
    {
        return otherRecords;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("treeId", getTreeId())
            .append("treeCode", getTreeCode())
            .append("smallPlaceName", getSmallPlaceName())
            .append("treeAge", getTreeAge())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("altitude", getAltitude())
            .append("estimatedWeight", getEstimatedWeight())
            .append("adoptivePerson", getAdoptivePerson())
            .append("personPhone", getPersonPhone())
            .append("peasantHousehold", getPeasantHousehold())
            .append("springImages", getSpringImages())
            .append("summerImages", getSummerImages())
            .append("autumnImages", getAutumnImages())
            .append("winterImages", getWinterImages())
            .append("flowerDate", getFlowerDate())
            .append("deliveryDate", getDeliveryDate())
            .append("output", getOutput())
            .append("refrigerationDate", getRefrigerationDate())
            .append("otherRecords", getOtherRecords())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remarks", getRemarks())
            .toString();
    }
}
